package cn.hairui.fastms.core.service;

import cn.hairui.fastms.core.bean.SResc;
import cn.hairui.fastms.core.mapper.SRescMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 资源信息表 服务实现类
 * </p>
 *
 * @author lihairui
 * @since 2020-11-29
 */
@Service
public class SRescServiceImpl extends ServiceImpl<SRescMapper, SResc> implements SRescService {
    @Autowired
    private SRescMapper sRescMapper;

    @Override
    public List<SResc> selectMenuByAccount(String userAccount, String parentId) {
        return sRescMapper.selectMenuByAccount(userAccount, parentId);
    }
}
